<template>
  <ant-modal
    modalWidth="700"
    modalHeight="850"
    :visible="open"
    :modal-title="formTitle"
    :adjust-size="true"
    @cancel="cancel"
  >
    <a-form-model
      ref="form"
      :model="form"
      :rules="rules"
      slot="content"
      layout="vertical"
    >
      <a-row :gutter="32" style="width: 50%; left: 25%">
        <a-col :span="24">
          <a-form-model-item label="实施人" prop="zt00803">
            <a-input v-model="form.zt00803" placeholder="请输入实施人" />
          </a-form-model-item>
        </a-col>
        <a-col :span="24">
          <a-form-model-item label="实施时间" prop="zt00801">
            <a-date-picker
              v-model="form.zt00801"
              format="YYYY-MM-DD"
              mode="date"
              placeholder="请输入实施时间"
              @change="onChange"
              style="width: 100%"
            ></a-date-picker>
          </a-form-model-item>
        </a-col>
        <a-col :span="24">
          <a-form-model-item label="实施地点" prop="zt00802">
            <a-input v-model="form.zt00802" placeholder="请输入实施地点" />
          </a-form-model-item>
        </a-col>

        <a-col :span="24">
          <a-form-model-item label="被实施人姓名" prop="zt00804">
            <a-input v-model="form.zt00804" placeholder="请输入被实施人姓名" />
          </a-form-model-item>
        </a-col>
        <a-col :span="24">
          <a-form-model-item label="被实施人单位及职务" prop="zt00805">
            <a-input
              v-model="form.zt00805"
              placeholder="请输入被实施人单位及职务"
            />
          </a-form-model-item>
        </a-col>
        <a-col :span="24">
          <a-form-model-item label="被实施形态原因" prop="zt00806">
            <a-textarea
              v-model="form.zt00806"
              placeholder="请输入被实施形态原因"
              :rows="4"
            />
          </a-form-model-item>
        </a-col>

        <a-col :span="24">
          <a-form-model-item label="实施形态" prop="zt00807">
            <a-select
              v-model="form.zt00807"
              placeholder="请选择实施形态"
              allowClear
            >
              <a-select-option value="第一形态">第一形态</a-select-option>
              <a-select-option value="第二形态">第二形态</a-select-option>
            </a-select>
          </a-form-model-item>
        </a-col>
        <a-col :span="24">
          <a-form-model-item label="实施形式" prop="zt00808">
            <a-input v-model="form.zt00808" placeholder="请输入实施内容" />
          </a-form-model-item>
        </a-col>
      </a-row>
    </a-form-model>
    <template slot="footer">
      <a-button @click="cancel"> 取消 </a-button>
      <a-button type="primary" @click="submitForm"> 保存 </a-button>
    </template>
  </ant-modal>
</template>
<script>
import BizTaizhang008AddForm from "./BizTaizhang008Form";
export default {
  ...BizTaizhang008AddForm,
};
</script>
